package com.jhgsys.internal.accident.service;

import com.jhgsys.internal.accident.entity.HazardExamineRectificationReturnRecord;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  Service接口
 *
 * @author zhangwei
 * @date 2024-08-22 17:40:29
 */
public interface IHazardExamineRectificationReturnRecordService extends IService<HazardExamineRectificationReturnRecord> {
    /**
     * 查询（分页）
     * @author zhangwei
     * @date 2024-08-22 17:40:29
     * @param request QueryRequest
     * @param hazardExamineRectificationReturnRecord hazardExamineRectificationReturnRecord
     * @return IPage<HazardExamineRectificationReturnRecord>
     */
    IPage<HazardExamineRectificationReturnRecord> findHazardExamineRectificationReturnRecordPage(QueryRequest request, HazardExamineRectificationReturnRecord hazardExamineRectificationReturnRecord);

    /**
     * 查询（所有）
     * @author zhangwei
     * @date 2024-08-22 17:40:29
     * @param hazardExamineRectificationReturnRecord hazardExamineRectificationReturnRecord
     * @return List<HazardExamineRectificationReturnRecord>
     */
    List<HazardExamineRectificationReturnRecord> findHazardExamineRectificationReturnRecordList(HazardExamineRectificationReturnRecord hazardExamineRectificationReturnRecord);

    /**
    * 根据ID查询
    * @author zhangwei
    * @date 2024-08-22 17:40:29
    * @param id
    * @return HazardExamineRectificationReturnRecord
    */
    HazardExamineRectificationReturnRecord findHazardExamineRectificationReturnRecordById(String id);

    /**
     * 新增
     * @author zhangwei
     * @date 2024-08-22 17:40:29
     * @param hazardExamineRectificationReturnRecord hazardExamineRectificationReturnRecord
     */
    void createHazardExamineRectificationReturnRecord(HazardExamineRectificationReturnRecord hazardExamineRectificationReturnRecord);

    /**
     * 修改
     * @author zhangwei
     * @date 2024-08-22 17:40:29
     * @param hazardExamineRectificationReturnRecord hazardExamineRectificationReturnRecord
     */
    void updateHazardExamineRectificationReturnRecord(HazardExamineRectificationReturnRecord hazardExamineRectificationReturnRecord);

    /**
     * 逻辑删除
     * @author zhangwei
     * @date 2024-08-22 17:40:29
     * @param hazardExamineRectificationReturnRecord hazardExamineRectificationReturnRecord
     * @param hazardExamineRectificationReturnRecordIds hazardExamineRectificationReturnRecordIds
     */
    void deleteHazardExamineRectificationReturnRecord(HazardExamineRectificationReturnRecord hazardExamineRectificationReturnRecord,String hazardExamineRectificationReturnRecordIds);

    /**
    * 物理删除
    * @author zhangwei
    * @date 2024-08-22 17:40:29
    * @param hazardExamineRectificationReturnRecordIds hazardExamineRectificationReturnRecordIds
    */
    void physicallyDeleteHazardExamineRectificationReturnRecord(String hazardExamineRectificationReturnRecordIds);
}
